<?php
/* @var $this ChildrenController */
/* @var $model Children */
/* @var $form CActiveForm */
?>

<div class="search">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

	<?php echo $form->label($model,'party_id'); ?>
	<?php echo $form->textField($model,'party_id',array('class'=>'input')); ?>

	<?php echo $form->label($model,'username'); ?>
	<?php echo $form->textField($model,'username',array('size'=>5,'maxlength'=>5,'class'=>'input')); ?>

	<?php echo $form->label($model,'sex'); ?>
	<?php echo $form->dropDownList($model,'sex',array('男'=>'男','女'=>'女'),
                    array('empty'=>'-请选择-')); ?> 

	<?php echo $form->label($model,'age'); ?>
        <select name="select_age" id="Children_age">
            <option value>全部</option>
            <option value="1">3岁以下</option>
            <option value="2">3~6</option>
            <option value="3">6~12</option>
            <option value="4">12~16</option>
            <option value="5">16~20</option>
        </select>        

	<?php echo CHtml::submitButton('查 询',array('class'=>'but')); ?>

<?php $this->endWidget(); ?>

</div><!-- search-form -->